<?php

namespace IDock\Insurance\JDAL;

class JDALEnums
{

    /**
     * 使用性质
     * @var array $useNatureCode
     */
    public static $useNatureCode = [
        '01' => '02',//非运营
        '02' => '01',//运营
    ];

    /**
     * 能源类型
     * @var string[] $energyType1
     */
    public static $energyType1 = [
        '0' => 'E01',
        '1' => 'E02',
        '2' => 'E03',
        '3' => 'E04',
        '4' => 'E05',
        '9' => 'E00',
        '' => 'E00'
    ];

    /**
     * 能源类型
     * @var string[] $energyType
     */
    public static $energyType = [
        'E00' => '9',//其他
        'E01' => '0',//燃油
        'E02' => '1',//纯电动
        'E03' => '2',//燃料电池
        'E04' => '3',//插电式混合动力
        'E05' => '4',//其他混合动力
    ];

    /**
     * 进口车标识
     * @var array $importFlag
     */
    public static $importFlag = [

    ];

    /**
     * 关系人证件类型
     * @var array $certificateTypeCode
     */
    public static $certificateTypeCode = [
        '01' => 'ID',
        '02' => '',//'居民户口簿',
        '03' => 'PP',
        '04' => 'FD',
        '05' => '',//'驾驶证',

        '06' => 'MC',
        '07' => 'HM',
        '08' => 'TP',
        '09' => '50',

        '50' => 'OC',
        '51' => '',//'营业执照',
        '52' => '12',
        '99' => '',
    ];

    /**
     * 险种代码
     * coverageCode
     * @var string[] $coverageCode
     */
    public static $coverageCode = [
        'C01001' => 'CTPL', //机动车交通事故责任强制保险

        'C02001' => 'MH', //机动车损失保险
        'C02002' => 'LBS', //附加车身划痕损失险
        'C02003' => 'RC', //附加修理期间费用补偿险
        'C02004' => '', //附加车轮单独损失险
        'C02005' => 'WSLE', //附加发动机进水损坏除外特约
        'C02006' => 'ANMH', //附加绝对免赔率特约条款(车损)
        'C02007' => 'AA', //附加新增加设备损失险
        'C02008' => 'CL', //附加车上货物责任险
        'C02009' => '', //附加保险人指定修理厂特约险

        'C03001' => 'TPL', //机动车第三者责任保险
        'C03002' => 'DTPL', //附加法定节假日限额翻倍险
        'C03003' => 'MLTPL', //附加精神损害抚慰金责任险(三者)
        'C03004' => 'EMTPL', //附加医保外医疗费用责任险(三者)
        'C03005' => 'ANTPL', //附加绝对免赔率特约条款(三者)

        'C04001' => 'DL', //机动车车上人员责任保险(司机)
        'C04002' => 'MLDL', //附加精神损害抚慰金责任险(司机)
        'C04003' => 'EMDL', //附加医保外医疗费用责任险(司机)'
        'C04004' => 'ANDL', //附加绝对免赔率特约条款(司机)

        'C05001' => 'PL', //机动车车上人员责任保险(乘客)
        'C05002' => 'MLPL', //附加精神损害抚慰金责任险(乘客)
        'C05003' => 'EMPL', //附加医保外医疗费用责任险(乘客)'
        'C05004' => 'ANPL', //附加绝对免赔率特约条款(乘客)

        'C08001' => 'ERRC', //道路救援服务特约条款
        'C08002' => 'ESCC', //车辆安全检测特约条款
        'C08003' => 'EDSC', //代为驾驶服务特约条款
        'C08004' => 'ECSC', //代为送检服务特约条款

        //新能源商业险
        'C12001' => 'MH',//新能源汽车损失保险
        'C12002' => 'LBS',//附加车身划痕损失险(新能源汽车)
        'C12003' => 'RC',//附加修理期间费用补偿险(新能源汽车)
        'C12004' => '',//附加车轮单独损失险(新能源汽车)
        'C12006' => 'ANMH',//附加绝对免赔率特约条款(车损)((新能源汽车))
        'C12007' => 'AA',//附加新增加设备损失险(新能源汽车)
        'C12008' => 'CL',//附加车上货物责任险(新能源汽车)

        'C13001' => 'TPL',//新能源汽车第三者责任保险
        'C13002' => '',//附加法定节假日限额翻倍险(新能源汽车)
        'C13003' => 'MLTPL',//附加精神损害抚慰金责任险(三者)(新能源汽车)
        'C13004' => 'EMTPL',//附加医保外医疗费用责任险(三者)(新能源汽车)
        'C13005' => 'ANTPL',//附加绝对免赔率特约条款(三者)(新能源汽车)

        'C14001' => 'DL',//新能源汽车车上人员责任保险(司机)
        'C14002' => 'MLDL',//附加精神损害抚慰金责任险(司机)(新能源汽车)
        'C14003' => 'EMDL',//附加医保外医疗费用责任险(司机)(新能源汽车)
        'C14004' => 'ANDL',//附加绝对免赔率特约条款(司机)(新能源汽车)

        'C15001' => 'PL',//新能源汽车车上人员责任保险(乘客)
        'C15002' => 'MLPL',//附加精神损害抚慰金责任险(乘客)(新能源汽车)
        'C15003' => 'EMPL',//附加医保外医疗费用责任险(乘客)(新能源汽车)
        'C15004' => 'ANPL',//附加绝对免赔率特约条款(乘客)(新能源汽车)

        'C16001' => 'EEGL',//附加外部电网故障损失险
        'C16002' => 'PCPD',//附加自用充电桩损失保险
        'C16003' => 'PCPL',//附加自用充电桩责任保险
        'C16004' => '',
        'C16005' => '',

        'C18001' => 'ERRC', //道路救援服务特约条款
        'C18002' => 'ESCC', //车辆安全检测特约条款
        'C18003' => 'EDSC', //代为驾驶服务特约条款
        'C18004' => 'ECSC', //代为送检服务特约条款
    ];

    /**
     * 险种性质代码
     * @var array $coverageCode
     */
    public static $coverageClassCode = [

        '0301' => [
            'MH' => '1',
            'TPL' => '1',
            'DL' => '1',
            'PL' => '1',
            'CTPL' => '1',

            'AA' => '2',
            'LBS' => '2',
            'RC' => '2',
            'WSLE' => '2',
            'MLTPL' => '2',
            'EMPL' => '2',
            'ANMH' => '2',
            'ANTPL' => '2',
            'ANPL' => '2',
            'ANDL' => '2',
            'MLDL' => '2',
            'EMDL' => '2',
            'EMTPL' => '2',
            'MLPL' => '2',
            'DTPL' => '2',
            'ERRC' => '2',
            'ESCC' => '2',
            'EDSC' => '2',
            'ECSC' => '2',
        ],
        '0401' => [
            'MH' => '1',
            'TPL' => '1',
            'DL' => '1',
            'PL' => '1',
            'CTPL' => '1',

            'AA' => '2',
            'LBS' => '2',
            'RC' => '2',
            'MLTPL' => '2',
            'ANMH' => '2',
            'ANTPL' => '2',
            'ANPL' => '2',
            'ANDL' => '2',
            'MLDL' => '2',
            'EMPL' => '2',
            'EMDL' => '2',
            'EMTPL' => '2',
            'MLPL' => '2',
            'EEGL' => '2',
            'PCPD' => '2',
            'PCPL' => '2',
            'ERRC' => '2',
            'ESCC' => '2',
            'EDSC' => '2',
            'ECSC' => '2',
        ],
    ];

    /**
     * 号牌种类代码
     * @var array $licenseTypeCode
     */
    public static $licenseTypeCode = [

    ];

    /**
     * 车损险绝对免赔额
     * @var string[] $deductionLimit
     */
    public static $deductionLimit = [

    ];

    /**
     * 车身划痕险限额
     * @var string[] $deductionLimit
     */
    public static $scratchLimit = [

    ];

    /**
     * 客户分类
     * @var string[] $relationTypeCode
     */
    public static $relationTypeCode = [
        'R1' => '1',
        'R2' => '2',
        'R3' => '3'
    ];

    /**
     * 缴税类型
     * @var array $taxTypeCode
     */
    public static $taxTypeCode = [
        'T01' => '2',
        'T02' => '3',
        'T03' => '5',
        'T04' => '4',
        'T05' => '6',
        'T06' => '6',
        'T07' => '1',
        'T08' => '',
    ];
    /**
     * 减免税原因代码
     * @var array $taxReductionReasonCode
     */
    public static $taxReductionReasonCode = [

    ];

    /**
     * 减免税方案代码
     * @var array $taxReductionCode
     */
    public static $taxReductionCode = [

    ];

    public static $underStats = [

    ];

    /**
     * 上传文件类型
     * @var array $uploadFileType
     */
    public static $uploadFileType = [
        '10001' => 'UWD003',
        '10002' => 'UWD003',
        '10003' => 'UWD003',

        '10004' => 'UWD003',
        '10005' => 'UWD003',
        '10006' => 'UWD003',

        '10007' => 'UWD003',
        '10008' => 'UWD003',
        '10009' => 'UWD003',

        '10010' => 'UWD003',
        '10011' => 'UWD003',

        '10012' => 'UWD003',
        '10013' => 'UWD003',

        '10014' => 'UWD002',
        '10015' => 'UWD002',

        '10100' => 'UWD002',//'验车照片3',
        '10101' => 'UWD002',//'验车照片4',
        '10102' => 'UWD002',//'验车照片5',
        '10103' => 'UWD002',//'验车照片6',
        '10104' => 'UWD002',//'验车照片7',
        '10105' => 'UWD002',//'验车照片8',
        '10106' => 'UWD002',//'验车照片9',
        '10107' => 'UWD002',//'验车照片10',

        '10016' => 'UWD004',
        '10017' => 'UWD004',
        '10018' => 'UWD003',
        '10019' => 'UWD005_04',
        '10020' => 'UWD005_04',
        '10021' => 'UWD003',

        '90004' => 'UWD004',//'关系证明',
        '90009' => 'UWD004',//'其他',
    ];

    /**
     * 充电桩种类
     * @var string[] $chargePileKind
     */
    public static $chargingPileKind = [
        'PK1' => '1',
        'PK2' => '2',
        'PK9' => '3'
    ];

    /**
     * 充电桩安装地点类型
     * @var string[] $chargingPileAddressType
     */
    public static $chargingPileAddressType = [
        'PA1' => '1',
        'PA2' => '2'
    ];

    /**
     * 充电桩使用年限
     * @var array $chargingPileYearLimit
     */
    public static $chargingPileYearLimit = [
        'PY1' => '1',
        'PY2' => '2',
        'PY3' => '3'
    ];

    /**
     * 车辆种类
     * @var array
     */
    public static $carType = [

    ];


    /**
     * 验车情况
     * @var string[] $carCheckCode
     */
    public static $carCheckCode = [

    ];

    /**
     * 免验原因
     * @var array $carCheckReasonKind
     */
    public static $carCheckReasonKind = [

    ];

    /**
     * 商业险 无赔优不浮动原因
     * @var string[] $BINoCAR
     */
    public static $BINoCAR = [
        '01' => '过户车，不浮动',
        '02' => '脱保6个月以上，不浮动',
        '03' => '本次投保为短期单，不下浮',
        '04' => '没有上年度保单，不浮动',
        '05' => '上张保单为短期单，不下浮',
        '06' => '上张保单做过批改过户，不浮动。',
        '07' => '上年和本年不在同一公司投保，不浮动',
        '08' => '脱保3个月至6个月（含），不下浮',
        '09' => '车贷投保多年，不下浮',
        '10' => '对历史保单（上平台前的保单）的批改，不重新计算风险系数',
        '11' => '新车，不下浮',
    ];

    /**
     * 交强险 无赔优不浮动原因
     * @var string[] $BINoCAR
     */
    public static $CINoCAR = [
        '01' => '新车，不浮动',
        '02' => '首次投保，不浮动',
        '03' => '车辆所有权转移，不浮动',
        '04' => '临时上道或临时入境，不浮动',
        '05' => '为摩托车、拖拉机、变拖类、低速载货汽车、三轮汽车，不浮动',
        '06' => '未如实告知平台车辆信息，无法确定浮动比率，不浮动',
        '07' => '非重复投保退保的保单续保，不浮动',
        '08' => '短期保单续保不下浮',
        '09' => '短期单投保不浮动',
        '10' => '脱保，不下浮',
        '11' => '挂车，不浮动',
        '12' => '短期单投保，不下浮',
        '99' => '不在浮动时间范围内，不浮动',
    ];

    /**
     * 车身颜色
     * vehicleColor
     * @var string[] $vehicleColor
     */
    public static $vehicleColor = [
        '001' => 'A',//白色
        '002' => 'B',//灰色
        '003' => 'C',//黄色
        '004' => 'D',//粉色
        '005' => 'E',//红色
        '006' => 'Z',//紫色-其他
        '007' => 'G',//绿色
        '008' => 'H',//蓝色
        '009' => 'I',//棕色
        '010' => 'J',//黑色
        '999' => 'Z',//其他
    ];

}
